def Pojie_VIP():
    from PyQt5.QtWidgets import QApplication,QMainWindow,QLabel,QPushButton,QLineEdit
    import sys
    import requests
    def wd1():
        url = 'http://fanyi.youdao.com/translate?smartresult=dict&smartresult=rule'
        #                                          -
        content = QLineEdit1.text()
        content.strip()
        if content == '':
            print('请输入要翻译的内容')
        else:
            data = {
                "i":"hello",
                "from":"AUTO",
                "to":"AUTO",
                "smartresult":"dict",
                "client":"fanyideskweb",
                #"salt":"15907418398899",
                #"sign":"c4818f34f820ff86dc32d19bb9d27ae4",
                #"ts":"1590741839889",
                "bv":"e2a78ed30c66e16a857c5b6486a1d326",
                "doctype":"json",
                "version":"2.1",
                "keyfrom":"fanyi.web",
                "action":"FY_BY_CLICKBUTTION"
            }
            res=requests.post(url=url,data=data)
            print(res)



    app = QApplication(sys.argv)
    w = QMainWindow()

    w.setStyleSheet('QMainWindow{background-color:rgb(237,138,45)}')
    w.setMinimumSize(320,100)
    w.setMaximumSize(320,100)
    QLineEdit1 = QLineEdit(w)
    w.setWindowTitle('翻译助手')
    QLineEdit1.setGeometry(70,50,100,30)
    QLineEdit1.setPlaceholderText("要翻译的内容")
    QPushButton1 = QPushButton(w)
    QPushButton1.move(130,0)
    QPushButton1.setText('通道一')
    QPushButton1.clicked.connect(wd1)
    w.show()

    sys.exit(app.exec_())
def Die():
    return '已死亡'
